package com.ccb.lms.service;

import java.sql.SQLException;
import java.util.List;

import com.ccb.lms.model.User;
import com.ccb.lms.util.BasePage;



public interface IUserService {
	public List<User> getAllUser();   
    
    public User getUserById(Integer id);   
   
	public List<User> getUserByPage(BasePage basePage);
	
	public int getUserCount();
	
    public boolean isLogin(User user);   
       
    public boolean insertUser(User user);   
       
    public boolean updateUser(User user);   
       
    public boolean deleteUser(Integer id); 
    
    public BasePage getBasePage(int currentPage, int showRecordNum);
}
